package com.wskj.insuranceweb.reporter.mapper;

import com.wskj.insuranceweb.reporter.pojo.Employee;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface EmployeeMapper {

    @Select("select * from employee where name=#{name} and password = #{password}")
    Employee findEmployeeByUserName(Employee employee);
}
